package com.fastCms.business.frame.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 哈密瓜科技 版权所有 © Copyright 2019<br>
 *
 * @Description: 登录权限控制<br>
 * @Project: hami <br>
 * @CreateDate: Created in 2019/3/7 下午3:48 <br>
 * @Author: <a href="lsquan666@163.com">lsquan</a>
 */
@Data
@ApiModel(value = "CloudLoginUserPO", description = "")
public class CloudLoginUserPO {
    @ApiModelProperty(value = "登录帐号", example = "admin")
    @NotNull(message = "账号不能为空")
    private String username;

    @ApiModelProperty(value = "1-自定义用户名 2-手机号", example = "1")
    @NotNull(message = "登录类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "密码", example = "admin")
    @NotNull(message = "密码不能为空")
    private String password;

    @ApiModelProperty(value = "管理平台:CMS;超管平台:ADMIN", example = "CMS")
    private String platform;

}
